﻿using System;

namespace diantou.web.exam
{
    /// <summary>
    /// 用户题目信息
    /// </summary>
    struct userQuestion
    {
        /// <summary>
        /// 用户题目信息
        /// </summary>
        public diantou.examDataAccess.examQuestion Question;
        /// <summary>
        /// 用户信息
        /// </summary>
        public diantou.dataAccess.user User;
        /// <summary>
        /// 是否考试问题编辑员
        /// </summary>
        public bool IsPermission
        {
            get
            {
                return Question.IsExamEditor(User);
            }
        }
    }
}
